package patternmining.model.graph.bpsl;

public class BpslDefined_In extends BpslPredicate {

    public BpslDefined_In(BpslVariable origin, BpslVariable destination){
        super(origin, destination);
    }

    public static boolean acceptsArguments(BpslVariable firstArg, BpslVariable secondArg){

        if( firstArg instanceof BpslMethod && secondArg instanceof BpslClass )  return true;

        if( firstArg instanceof BpslTypedVariable && secondArg instanceof BpslClass )  return true;

        return false;
    }

    public String toString(){
        return "Defined-in";
    }
	 
}
 
